﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lazy02
{
    class Taila:Hero
    {
        public Taila(string Name, string Newname, int attack, int defense, int speed)
           : base(Name, Newname, attack, defense, speed)
        {
            base.HeroInfo = "是一名为复仇而来的勇者";
        }

        public void FirstSkill()
        {
            Console.WriteLine("技能一：巨浪冲击");
        }
        public void SecondSkill()
        {
            Console.WriteLine("技能二：元素突击");
        }
        public void ThirdSkill()
        {
            Console.WriteLine("技能三：复仇杀戮");
        }
        public void GetMsg()
        {
            Console.WriteLine("我是{0}，{1}，\n 攻击力：{2}， \n 防御力：{3}，\n 速度：{4} ，\n 用户名：{5}", base.NewName, base.HeroInfo, base.Attack, base.Defense, base.Speed, base.NaME);
        }
    }
}
